﻿using Gx.Common.Core;
using System;

namespace Gx.Model.ViewModel
{
    public class CustomerInput: PageInput
    {
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }
        /// <summary>
        /// 客户级别
        /// </summary>
        public int? CustomerLevelId { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        public string Region { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? IsValid { get; set; }

        public string Customer { get; set; }
    }

    public class CustomerEditDto
    {
        public int Id { get; set; }
        public string CustomerName { get; set; }
        public string CustomerCode { get; set; }
        public int CustomerLevelId { get; set; }
        public string CustomerLevelName { get; set; }
        public decimal Balance { get; set; }
        public string Mobile { get; set; }
        public string Telephone { get; set; }
        public string Qq { get; set; }
        public string WeChat { get; set; }
        public string Region { get; set; }
        public string Address { get; set; }
        public string Remark { get; set; }
        public string Tag { get; set; }
        public bool IsBindWeChat { get; set; }
        public string WxOpenId { get; set; }
        public bool IsValid { get; set; }
        public int ModifyUserId { get; set; }
        public string ModifyUser { get; set; }
        public System.DateTime ModifyTime { get; set; }

    }
}
